import java.util.Scanner;


public class Pet {
	private String name;
	private int age;
	private boolean happy;
	
		public Pet(String in_name, int in_age, boolean in_happy){
			name =  in_name;
			age = in_age;
			happy = in_happy;
			
		}
		
		public String getName() {
			return name;
		} 
		public int getAge(){
			return age;
		}
		public void setAge(int newAge) throws NNE
		{
			age = newAge;
			if(age < 0) {
				throw new NNE("Negative Number Exception");
			}
		}
		
		public void setName(String newName) {
	
		}

		
		
}
/*import java.util.Scanner;

public class helloworld {
	
	public static void main(String args[]){
		System.out.println("Hello World");
//Scanner scan = new Scanner (System.in);
//int x = scan.nextInt();
//double d = scan.nextDouble();
//we'll cover char later;
//boolean b = scan.nextBoolean();
//String s = scan.nextLine();
//System.out.println(b);
//System.out.println(x);
//System.out.println(s);
//System.out.println(d);
	int g;
		for(g=10; g>=-3;g--){
		System.out.println(g);
		}
		
	}
}
*/